package org.keshproject.dms.service.impl;

import org.keshproject.dms.dao.ICompanyInfoDao;
import org.keshproject.dms.pojo.CompanyInfo;
import org.keshproject.dms.service.ICompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CompanyInfoService implements ICompanyService {

	@Autowired
	public ICompanyInfoDao companyInfoDao;

	@Override
	public CompanyInfo getCompanyInfoById(int companyInfoId) {
		return companyInfoDao.getById(companyInfoId);
	}

	public ICompanyInfoDao getCompanyInfoDao() {
		return companyInfoDao;
	}

	public void setCompanyInfoDao(ICompanyInfoDao companyInfoDao) {
		this.companyInfoDao = companyInfoDao;
	}

}
